package zzps.exeed.kernel.tool;

import java.io.File;
import java.io.IOException;
import java.lang.reflect.Method;
import java.net.URL;
import java.net.URLClassLoader;
import java.util.List;

/**
 * 外部Jar的类加载器
 */
public class JarClassLoader extends URLClassLoader {

    // ------------------------------------------------------------------- Constructor start

    /**
     * 构造
     */
    public JarClassLoader() {
        this(new URL[]{});
    }

    /**
     * 构造
     *
     * @param urls 被加载的URL
     */
    public JarClassLoader(URL[] urls) {
        super(urls, ClassLoaderTool.getClassLoader());
    }

    /**
     * 构造
     *
     * @param urls        被加载的URL
     * @param classLoader 类加载器
     */
    public JarClassLoader(URL[] urls, ClassLoader classLoader) {
        super(urls, classLoader);
    }
    // ------------------------------------------------------------------- Constructor end


    @Override
    public void addURL(URL url) {
        super.addURL(url);
    }


}
